/**
 * Created by NickNi on 2022/4/21.
 */
import React from 'react';
import ReactEcharts from 'echarts-for-react';

type EchartsPieProps = {
    option: any;
};

const EchartsPie = (props: EchartsPieProps) => (
    <ReactEcharts
        option={props.option}
        style={{ height: '350px', width: '100%' }}
        className={'react_for_echarts'}
    />
);

export default EchartsPie;
